<include file="Public:pagerForm" />
<script type="text/javascript">
function reload14() {
    navTab.reload("__URL__", {});
}
function phonedbltable(target,rel){
    if( target == 'sid_phonebook'){
    $.pdialog.open("__URL__/edit/id/"+rel+"/sid_phonebook="+rel,"pdialogid", "修改电话薄", { max:false, mask:true, width: 525, height: 450});
    } 
  }
</script>
<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" rel="pagerForm" action="__URL__" method="post">
	<div class="searchBar">
	 <ul class="searchContent">
			<li>
				<label>姓名：</label>
				<input type="text" name="fullname" value="{$fullname}" />
			</li>
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
			</ul>
		</div>
    </div>
    </form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="__URL__/add" target="dialog" mask="true" rel="add" width="525" height="450"><span>添加</span></a></li>
			<li><a class="delete" href="__URL__/foreverdelete/navTabId/__MODULE__" target="selectedTodo" postType="string" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="__URL__/edit/id/{sid_phonebook}" target="dialog"  mask="true" rel="edit" width="525" height="450"><span>修改</span></a></li>			
		    <li class="line">line</li>
			<li><a class="icon" href="#" onclick="reload14()"><span>刷新</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="136" >
		<thead>
			<tr >
			    <th align="center" width="20"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th align="center" width="40">姓名</th>
				<th  align="center"width="40">昵称</th>
				<th align="center"  width="70">职务</th>
				<th align="center"width="60">手机</th>
				<th align="center" width="60">固定电话</th>
				<th align="center" width="60">邮箱</th>
				<th  align="center" width="50">QQ</th>
				<th align="center"  width="40">操作</th>
				
			</tr>
		</thead>
		<tbody>
		<volist id="vo" name="list">
			<tr target="sid_phonebook" rel="{$vo['id']}" ondblclick="phonedbltable('sid_phonebook',{$vo.id})">
			    <td align="center"><input type="checkbox" name="ids" value="{$vo['id']}" /></td>
				<!-- <td><a href="__URL__/index/id/{$vo['id']}/" target="navTab" rel="__MODULE__">{$vo['fullname']}</a></td> -->
				<td>{$vo['fullname']}</td>
				<td>{$vo['nickname']}</td>
				<td>{$vo['duty']}</td>
				<td>{$vo['mobile']}</td>
				<td>{$vo['phone']}</td>
				<td>{$vo['email']}</td>
				<td>{$vo['qq']}</td>
				<td><a class="delete" href="__URL__/foreverdelete/ids/{$vo['id']}/navTabId/__MODULE__" target="ajaxTodo" calback="navTabAjaxMenu" title="你确定要删除吗？"><span>删除</span></a>
				|&nbsp;<a href="__URL__/edit/id/{$vo['id']}" target="dialog" mask="true" width="525" height="450">编辑</a>
				</td>
			</tr>
	</volist>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
		  <span>每页</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<eq name="numPerPage" value="24"><option value="24" selected>24</option><else/><option value="24">24</option></eq>
				<eq name="numPerPage" value="50"><option value="50" selected>50</option><else/><option value="50">50</option></eq>
				<eq name="numPerPage" value="100"><option value="100" selected>100</option><else/><option value="100">100</option></eq>
				<eq name="numPerPage" value="200"><option value="200" selected>200</option><else/><option value="200">200</option></eq>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
	</div>
</div>
